    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background: hsl(0, 0%, 100%);
    }

    nav {
      position: sticky;
      top: 10px;
      z-index: 1000;
      max-width: 1520px;
      margin: 30px auto;
      padding: 1.2rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #ffffff;
      border-radius: 50px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
      border: 1px solid #a1a1a1;
    }

    .logo {
      font-size: 1.7rem;
      font-weight: bold;
      color: #2c3e50;
    }

    .nav-center {
      display: flex;
      gap: 2rem;
    }

    .nav-center a {
      position: relative;
      text-decoration: none;
      color: #2c3e50;
      font-weight: 500;
      font-size: 15px;
      padding: 6px 0;
      transition: color 0.3s ease;
    }

    .nav-center a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0%;
      height: 2px;
      background-color: #4a74ff;
      transition: width 0.3s ease;
    }

    .nav-center a:hover::after {
      width: 100%;
    }

    /* ✅ Right Side Rounded Button */
    .nav-right a {
      text-decoration: none;
      background: #4a74ff;
      color: #fff;
      padding: 10px 22px;
      border-radius: 50px;
      font-weight: 500;
      font-size: 15px;
      box-shadow: 0 4px 12px rgba(74, 116, 255, 0.3);
      transition: all 0.3s ease;
    }

    .nav-right a:hover {
      background: #355de0;
      transform: translateY(-1px);
    }
        /* ─── Search Bar ───────────────────────────── */
    .search-box{
        position:relative;
        display:flex;
        align-items:center;
    }
    .search-box input{
      width:200px;
      max-width:60vw;
      padding:9px 40px 9px 16px;
      border:1px solid #bfc9ff;
      border-radius:50px;
      font-size:14px;
      transition:all .3s ease;
    }
    .search-box input::placeholder{
        color:#9aa2d4;
    }
    .search-box input:focus{
      outline:none;border-color:#4a74ff;
      box-shadow:0 0 0 3px rgba(74,116,255,.25);
    }
    /* search icon */
    .search-box::after{
      content:'🔍'; /* simple emoji icon */
      position:absolute;right:14px;pointer-events:none;
      font-size:16px;color:#6d7be9;
    }


    @media (max-width: 768px) {
      nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 25px;
      }

      .nav-center {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
      }

      .nav-right a {
        width: 100%;
        text-align: center;
      }
     .search-box input{width:100%;}

    }
    *,
*::before,
*::after { box-sizing: border-box; }

    :root {
  --clr‑primary: #0753ff;
  --clr‑grey‑100: #f5f5f5;
  --radius: 8px;
  --shadow: 0 3px 12px rgba(0,0,0,0.12);
  font-family: "Segoe UI", Roboto, sans-serif;
}


    .search‑prev‑cards {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem;
}

    .top‑bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
      animation: slideInUp 0.6s ease forwards;
      opacity: 0;
      margin-top: 80px;
    }

    .top‑bar .search‑box input {
      border: 2px solid transparent;
      background: white;
      border-image: linear-gradient(to right, #00c6ff, #0072ff);
      border-image-slice: 1;
      padding: 10px 15px;
      border-radius: 20px;
      transition: all 0.3s ease;
    }

    .top‑bar .search‑box input:focus {
      border-color: #0072ff;
      box-shadow: 0 0 5px rgba(0, 114, 255, 0.4);
    }

    .top‑bar button {
      padding: 10px 16px;
      margin-left: 10px;
      border: none;
      background: linear-gradient(to right, #36d1dc, #5b86e5);
      color: white;
      border-radius: 20px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .top‑bar button:hover {
      transform: scale(1.05);
    }

    .top‑bar .back-link img {
      width: 35px;
      margin-left: 20px;
      transition: 0.3s ease;
    }

    .top‑bar .back-link img:hover {
      transform: scale(1.1);
    }

    .card‑wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .card1{
      background-color: rgb(133, 245, 155);
            border-radius: 12px;

    }
        .card2{
      background-color: rgb(133, 245, 155);
            border-radius: 12px;

    }
        .card3{
      background-color: rgb(133, 245, 155);
            border-radius: 12px;

    }
        .card4{
      background-color: rgb(247, 196, 107);
            border-radius: 12px;

    }
    .card5{
      background-color: rgb(133, 245, 155);
            border-radius: 12px;

    }
        .card6{
            background-color: rgb(247, 196, 107);
            border-radius: 12px;

    }





    .card1, .card2, .card3, .card4, .card5, .card6 {
    
      border: 2px solid;
      border:1px solid rgb(232, 232, 232);
      border-image-slice: 1;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      opacity: 0;
      transform: translateY(30px);
      animation: slideInUp 0.7s ease forwards;
    }

    /* Stagger animation delay for each card */
    .card1 { animation-delay: 0.2s; }
    .card2 { animation-delay: 0.4s; }
    .card3 { animation-delay: 0.6s; }
    .card4 { animation-delay: 0.8s; }
    .card5 { animation-delay: 1s; }
    .card6 { animation-delay: 1.2s; }

    .card1:hover, .card2:hover, .card3:hover, .card4:hover, .card5:hover, .card6:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .card1 img, .card2 img, .card3 img, .card4 img, .card5 img, .card6 img {
      width: 100px;
      height: 100px;
      margin-bottom: 12px;
    }

    .card1 h3, .card2 h3, .card3 h3, .card4 h3, .card5 h3, .card6 h3 {
      font-size: 16px;
      margin: 4px 0;
      color: #333;
    }

    .card1 h4, .card2 h4, .card3 h4, .card4 h4, .card5 h4, .card6 h4 {
      font-size: 14px;
      color: #252525;
      margin-top: 15px;
    }

    @keyframes slideInUp {
      0% {
        transform: translateY(40px);
        opacity: 0;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @media screen and (max-width: 768px) {
      .nav-center, .top‑bar {
        flex-direction: column;
        align-items: flex-start;
      }
      .nav-center a {
        margin: 5px 0;
      }
    }
